// swiper
define(['src/js/libs/swiper.min', 'backbone'], function(Swiper, Backbone) {

	var SwiperView = Backbone.View.extend({
		el: '.swiper-container',
		initialize: function(opt) {
			opt = _.extend({}, opt);
			opt.el && this.setElement(opt.el);
			this.initSwiper(_.omit(opt, 'el'));
		},
		initSwiper: function(opt) {
			this.swiper = new Swiper(this.$el, opt || {});
		}
	});

	return SwiperView;
});